import { useState, useEffect } from 'react';

import { Divider } from 'antd-mobile';
import style from './index.module.less';

interface IProps {
  courseId: string;
}

/**
 * 预约课程弹窗
 * 可以选择课程表和消费卡
 */
const SubscribePopup = ({ courseId }:IProps) => {
  const [state, setState] = useState();
  useEffect(() => {
    console.log(state, setState, courseId);
  }, []);
  return (
    <div className={style.container}>
      <Divider>请选择预约事件</Divider>

      <Divider>请选择消费卡</Divider>
    </div>
  );
};

export default SubscribePopup;
